lib/deploy: Close test suite race condition
authorColin Walters <walters@verbum.org>
Wed, 9 Aug 2017 13:07:11 +0000 (09:07 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 10 Aug 2017 14:42:58 +0000 (14:42 +0000)
commit95c832b4e22dab7a26d815ee8e94e04f733bd66d
tree6c6fcff127af7b7fb03fe6a5600dd16d5bb34410
parent6c7a6519dd7bb15a5d37fe99940e06e6e8eb710d
lib/deploy: Close test suite race condition

Saw this in a PR result; we need to wait for the child to have written its
result to stderr before we exit, otherwise the test suite may not read it in
time.

Closes: #1070
Approved by: jlebon
src/libostree/ostree-sysroot-deploy.c